<template>
  <div class="home">
    <app-navbar></app-navbar>
    <app-main></app-main>
  </div>
</template>

<script>
// @ is an alias to /src
import AppNavbar from '@/components/AppNavbar';
import AppMain from '@/components/AppMain';

export default {
  name: 'Home',
  components: {
    AppNavbar,
    AppMain,
  },
};
</script>
<style lang="scss">
  .home {
    width: 100%;
    height: 100%;
  }
  .left {
    position: absolute;
    width: 200px;
    background-color: #001529;
    top: 0;
    bottom: 0;
    left: 0;
    color: #fff;
  }
  .logo {
    height: 50px;
    font-size: 18px;
  }
  .logo-img {
    width: 32px;
    height: 32px;
    margin: 0 16px;
  }
  .right {
    position: absolute;
    left: 200px;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    padding: 70px 20px 20px 20px;
    background-color: #eef0f3;
    .header {
      height: 50px;
      background-color: #fff;
      justify-content: space-between;
      padding: 0 20px;
      position: fixed;
      z-index: 999;
      top: 0;
      right: 0;
      left: 200px;
    }
  }
  .welcome .img {
    width: 371px;
    height: 438px;
    margin-left: 105px;
    background: url('../../public/2.png') no-repeat;
}
.welcome .content{
    position: relative;
    bottom: 40px;
}
.welcome .content .sub-title{
    font-size: 30px;
    line-height: 42px;
    color: #333;
}
.welcome .content .title {
    font-size: 40px;
    line-height: 62px;
    color: #409eff;
}
.desc {
    font-size: 14px;
    color: #999;
    text-align: center;
}
.welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 50px);
}
</style>
